package com.cn.sqlSession;

import com.cn.pojo.MapperdStatement;

import java.util.List;

public interface SqlSession {

    public <E> List<E> selectList(String statementId, Object... param) throws Exception;

    public <T> T selectOne(String statementId, Object... param) throws Exception;

    public Integer updateById(String statementId, Object... param) throws Exception;

    public Integer add(String statementId, Object... param) throws Exception;

    public Integer delById(String statementId, Object... param) throws Exception;

    <T> T getMapper(Class<?> mapperClass);

}
